var express = require('express');
var router = express.Router();
const studentController = require('../controller/student')

/* GET users listing. */
router.get('/all', studentController.getStudent);
router.get('/byId', studentController.getStudentId);
router.post('/add', studentController.addStudent);
router.delete('/delete', studentController.deleteStudent);
router.post('/edit', studentController.editStudent);

module.exports = router;
